<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JCSDK Objective-C API Reference for iOS/macOS: JCGroupMember类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JCSDK Objective-C API Reference for iOS/macOS
   &#160;<span id="projectnumber">2.3.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">构造函数</a> &#124;
<a href="#properties">属性</a> &#124;
<a href="interface_j_c_group_member-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">JCGroupMember类 参考<div class="ingroups"><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html">群组模块</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#import &lt;<a class="el" href="_j_c_group_member_8h_source.html">JCGroupMember.h</a>&gt;</code></p>
<div class="dynheader">
类 JCGroupMember 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="interface_j_c_group_member.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
构造函数</h2></td></tr>
<tr class="memitem:a158dca86436011a7edbffe3a6c70a424"><td class="memItemLeft" align="right" valign="top">(instancetype)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_j_c_group_member.html#a158dca86436011a7edbffe3a6c70a424">init:userId:uid:displayName:memberType:changeState:</a></td></tr>
<tr class="separator:a158dca86436011a7edbffe3a6c70a424"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
属性</h2></td></tr>
<tr class="memitem:abce0fa06085335171cf704fce6fd3cbe"><td class="memItemLeft" align="right" valign="top">NSString *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_group_member.html#abce0fa06085335171cf704fce6fd3cbe">groupId</a></td></tr>
<tr class="separator:abce0fa06085335171cf704fce6fd3cbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7364baec481e97bfcc10cafbc0a38518"><td class="memItemLeft" align="right" valign="top">NSString *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_group_member.html#a7364baec481e97bfcc10cafbc0a38518">userId</a></td></tr>
<tr class="separator:a7364baec481e97bfcc10cafbc0a38518"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a718e54f87d23ade3e418d4eec89542bd"><td class="memItemLeft" align="right" valign="top">NSString *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_group_member.html#a718e54f87d23ade3e418d4eec89542bd">uid</a></td></tr>
<tr class="separator:a718e54f87d23ade3e418d4eec89542bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af51401b8ef5685d3aa2bb17d5958b293"><td class="memItemLeft" align="right" valign="top">NSString *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_group_member.html#af51401b8ef5685d3aa2bb17d5958b293">displayName</a></td></tr>
<tr class="separator:af51401b8ef5685d3aa2bb17d5958b293"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebca6f12b1c84caf58d7a7ff7880a3d0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga3d53f8fc723ed544d0614289da1d6b0f">JCGroupMemberType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_group_member.html#aebca6f12b1c84caf58d7a7ff7880a3d0">memberType</a></td></tr>
<tr class="separator:aebca6f12b1c84caf58d7a7ff7880a3d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe84537ba97f9bf1a90f223c08ea9f22"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gaba2535eca2019abdf11c4290e148090d">JCGroupChangeState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_group_member.html#abe84537ba97f9bf1a90f223c08ea9f22">changeState</a></td></tr>
<tr class="separator:abe84537ba97f9bf1a90f223c08ea9f22"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>群组成员类 </p>
</div><h2 class="groupheader">函数文档</h2>
<a id="a158dca86436011a7edbffe3a6c70a424"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a158dca86436011a7edbffe3a6c70a424">&#9670;&nbsp;</a></span>init:userId:uid:displayName:memberType:changeState:</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (instancetype) init: </td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>groupId</em></td>
        </tr>
        <tr>
          <td class="paramkey">userId:</td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>userId</em></td>
        </tr>
        <tr>
          <td class="paramkey">uid:</td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>uid</em></td>
        </tr>
        <tr>
          <td class="paramkey">displayName:</td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>displayName</em></td>
        </tr>
        <tr>
          <td class="paramkey">memberType:</td>
          <td></td>
          <td class="paramtype">(<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga3d53f8fc723ed544d0614289da1d6b0f">JCGroupMemberType</a>)&#160;</td>
          <td class="paramname"><em>memberType</em></td>
        </tr>
        <tr>
          <td class="paramkey">changeState:</td>
          <td></td>
          <td class="paramtype">(<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gaba2535eca2019abdf11c4290e148090d">JCGroupChangeState</a>)&#160;</td>
          <td class="paramname"><em>changeState</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>构造 <a class="el" href="interface_j_c_group_member.html">JCGroupMember</a> </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">groupId</td><td>群组唯一标识 </td></tr>
    <tr><td class="paramname">userId</td><td>用户标识 </td></tr>
    <tr><td class="paramname">uid</td><td>服务器端用户标识 </td></tr>
    <tr><td class="paramname">displayName</td><td>昵称 </td></tr>
    <tr><td class="paramname">memberType</td><td>成员类型<ul>
<li><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga3d53f8fc723ed544d0614289da1d6b0fab6a2ef866fc524f953ac2b03a9b46db8">JCGroupMemberTypeOwner</a> : 拥有者</li>
<li><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga3d53f8fc723ed544d0614289da1d6b0fae8a87a6217c15e455151e9331e06f800">JCGroupMemberTypeManager</a> : 管理员</li>
<li><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga3d53f8fc723ed544d0614289da1d6b0fa3f8b24f324229f897988aee30f1fe1c5">JCGroupMemberTypeMember</a> : 群成员 </li>
</ul>
</td></tr>
    <tr><td class="paramname">changeState</td><td>成员变化状态：<ul>
<li><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ggaba2535eca2019abdf11c4290e148090dab23fd8ba7822ad804c39f671bbc0f629">JCGroupChangeStateNone</a> : 无</li>
<li><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ggaba2535eca2019abdf11c4290e148090dae6d09e1ba3eda7d522949d86d3927b47">JCGroupChangeStateAdd</a> : 新增</li>
<li><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ggaba2535eca2019abdf11c4290e148090da4fee776fa9c21d09635bbfe04e3f1c9b">JCGroupChangeStateUpdate</a> : 更新</li>
<li><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ggaba2535eca2019abdf11c4290e148090da5051461c41db335729bdcb6703d939dc">JCGroupChangeStateRemove</a> : 删除</li>
<li><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ggaba2535eca2019abdf11c4290e148090da1985373b9f264bdfeaf3ecfb393a00e0">JCGroupChangeStateProperties</a> : 群属性 </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="interface_j_c_group_member.html">JCGroupMember</a> 对象 </dd></dl>

</div>
</div>
<h2 class="groupheader">属性说明</h2>
<a id="abe84537ba97f9bf1a90f223c08ea9f22"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe84537ba97f9bf1a90f223c08ea9f22">&#9670;&nbsp;</a></span>changeState</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gaba2535eca2019abdf11c4290e148090d">JCGroupChangeState</a>) changeState</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span><span class="mlabel">nonatomic</span><span class="mlabel">assign</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>成员改变状态：</p><ul>
<li><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ggaba2535eca2019abdf11c4290e148090dab23fd8ba7822ad804c39f671bbc0f629">JCGroupChangeStateNone</a> : 无</li>
<li><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ggaba2535eca2019abdf11c4290e148090dae6d09e1ba3eda7d522949d86d3927b47">JCGroupChangeStateAdd</a> : 新增</li>
<li><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ggaba2535eca2019abdf11c4290e148090da4fee776fa9c21d09635bbfe04e3f1c9b">JCGroupChangeStateUpdate</a> : 更新</li>
<li><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ggaba2535eca2019abdf11c4290e148090da5051461c41db335729bdcb6703d939dc">JCGroupChangeStateRemove</a> : 删除</li>
<li><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ggaba2535eca2019abdf11c4290e148090da1985373b9f264bdfeaf3ecfb393a00e0">JCGroupChangeStateProperties</a> : 群属性 </li>
</ul>

</div>
</div>
<a id="af51401b8ef5685d3aa2bb17d5958b293"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af51401b8ef5685d3aa2bb17d5958b293">&#9670;&nbsp;</a></span>displayName</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString*) displayName</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span><span class="mlabel">nonatomic</span><span class="mlabel">copy</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>用户昵称 </p>

</div>
</div>
<a id="abce0fa06085335171cf704fce6fd3cbe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abce0fa06085335171cf704fce6fd3cbe">&#9670;&nbsp;</a></span>groupId</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString*) groupId</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span><span class="mlabel">nonatomic</span><span class="mlabel">copy</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>群组标识 </p>

</div>
</div>
<a id="aebca6f12b1c84caf58d7a7ff7880a3d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aebca6f12b1c84caf58d7a7ff7880a3d0">&#9670;&nbsp;</a></span>memberType</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga3d53f8fc723ed544d0614289da1d6b0f">JCGroupMemberType</a>) memberType</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span><span class="mlabel">nonatomic</span><span class="mlabel">assign</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>角色类型：</p><ul>
<li><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga3d53f8fc723ed544d0614289da1d6b0fab6a2ef866fc524f953ac2b03a9b46db8">JCGroupMemberTypeOwner</a> : 拥有者</li>
<li><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga3d53f8fc723ed544d0614289da1d6b0fae8a87a6217c15e455151e9331e06f800">JCGroupMemberTypeManager</a> : 管理员</li>
<li>JCGroupMemberTypeMember: 群成员 </li>
</ul>

</div>
</div>
<a id="a718e54f87d23ade3e418d4eec89542bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a718e54f87d23ade3e418d4eec89542bd">&#9670;&nbsp;</a></span>uid</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString*) uid</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span><span class="mlabel">nonatomic</span><span class="mlabel">copy</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>服务器端用户标识 当通知成员变化时，changeState 为 <a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ggaba2535eca2019abdf11c4290e148090da5051461c41db335729bdcb6703d939dc">JCGroupChangeStateRemove</a> 时只能通过此参数来判断，不能通过 userId </p>

</div>
</div>
<a id="a7364baec481e97bfcc10cafbc0a38518"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7364baec481e97bfcc10cafbc0a38518">&#9670;&nbsp;</a></span>userId</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString*) userId</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span><span class="mlabel">nonatomic</span><span class="mlabel">copy</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>用户标识 </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>JCSDKOC/JCSDKOC/JCGroup/<a class="el" href="_j_c_group_member_8h_source.html">JCGroupMember.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
</small></address>
</body>
</html>
